<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
	<title>网上缴费</title>
	<link rel="stylesheet" type="text/css" href="${ctx }/css/main.css" />
	<script type="text/javascript">
		function submitForm()
		{
			//document.getElementById("orderForm").submit();
			window.location.href="/base/pay-result!list.action";
		}
	</script>
  </head>
  
  <body>
<div class="container">
  <div class="page">
    <div class="header">
      <div class="nav"><a href="#"></a><a href="#"></a></div>
    </div>
    <div class="main">
<!--标题1------------------------------------>
      <%-- <div class="title_txt">
        <p><b>当前位置：个人缴费 &nbsp;&nbsp;&nbsp;&nbsp; 当前用户：${Name }</b></p>
      </div> --%>
<!--标题2------------------------------------>
      <!-- <div class="title_pic">
       <ul class="operate">
        <li class="change"><a href="#">修改密码</a></li>
        <li class="exit"><a href="#">安全退出</a></li>
       </ul>
      </div> -->
      
<!--主体内容------------------------------------>
      <div class="content">
        <!--左侧栏----------->
        <div class="leftbar">
         <a  href="/base/examinee-pay!list.action"><img src="../img/main_info.jpg" alt="基本信息" /></a>
         <a href="${ctx}/base/pay-order!list.action"><img src="../img/main_pay.jpg" alt="网上缴费" /></a>
         <a href="${ctx}/print.jsp"><img src="../images/printf.png" alt="打印回执" /></a>
         <div class="ICP">
          <form>
           <span>广东工业大学</span><br />
           <span>粤ICP证 05008833</span>
          </form>
         </div>
        </div>
        <!--主要内容区----------->
        <div class="maininfo">
          <s:if test="hasActionMessages()">      
	         <s:iterator value="actionMessages">      
	             <script language="JavaScript">      
	                 alert("<s:property escape="false"/>"); 
	                 window.location.href="/base/examinee-pay!list.action";    
	             </script>      
	         </s:iterator>      
	      </s:if>
          <s:iterator value="order" >
          <div class="topinfo">
              <h3>当前系统：</h3>
              <p>订单信息：${OrdId}</p>
              <p>应缴金额：<s:property value="RMB"/> 元（人民币）</p>
          </div>
          <div class="topinfo">
              <img src="../img/pay_1.png" alt="" /><img src="../img/pay_2.png" alt="" />
			  <input type="submit" style='background-color:#B4CDE6;color:#fff;float:right;cursor:pointer;padding:8px;margin-top:5px;' name="Submit" value="确认支付" onclick="submitForm()" />
          </div>
            
         	<form id="orderForm" action="${ActionUrl }" method="post" > 
				<input type="hidden" name="MerId" value="${MerId}"/>  
				<input type="hidden" name="OrdId" value="${OrdId}"/>
				<input type="hidden" name="OrdAmt" value="${OrdAmt}"/> 
				<input type="hidden" name="CuryId" value="${CuryId }"/> 
				<input type="hidden" name="Version" value="${Version }"/> 
				<input type="hidden" name="BgRetUrl" value="${BgRetUrl }"/> 
				<input type="hidden" name="PageRetUrl" value="${PageRetUrl }"/> 
				<input type="hidden" name="OrdDesc" value="${OrdDesc }"/>
				<input type="hidden" name="ShareType" value="${ShareType }"/>
				<input type="hidden" name="ShareData" value="${ShareData }"/>
				<input type="hidden" name="ChkValue" value="${ChkValue }"/> 
			</form>
			</s:iterator>
        </div>
      </div>
      <!--底部----------->
      <!-- <div class="footer"></div>-->
      
    </div>
  </div>
</div>
  </body>
</html>
